<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>jQuery的加载事件</title>
    <link rel="stylesheet" href="../css/common.css">
    <style>
        div{
            margin: 20px;
        }
        ul{
            margin-bottom: 20px;
        }
        ul span{
            display: inline-block;
            width: 20px;
        }
        ul button{
            padding: 0 10px;
            margin: 0 2px;
        }
    </style>
</head>
<body>
    <div>
        <ul>
            <li><span></span><input><button class="up">↑</button><button class="down">↓</button><button class="del">del</button></li>
            <li><span></span><input><button class="up">↑</button><button class="down">↓</button><button class="del">del</button></li>
            <li><span></span><input><button class="up">↑</button><button class="down">↓</button><button class="del">del</button></li>
            <li><span></span><input><button class="up">↑</button><button class="down">↓</button><button class="del">del</button></li>
        </ul>
        <button class="add">添加选项</button>
    </div>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js"></script>
    <script src="./js/L10.js"></script>
    <script>
        $(function(){
            $.main()
        })
    </script>
</body>
</html>